package com.dekun.workhard.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 健康检查
 */
@RestController
@RequestMapping("/health")
@Api("健康检查")
public class HealthyController {

    @GetMapping("/hello")
    @ApiOperation("健康检查")
    public String hello(){
        return "hello world";
    }

}
